using MediatR;
using Medical.ErrorCode;
using Medical.ReadApi.Dto;

namespace Medical.ReadApi.Appcontext.Command
{
	public class GetDiseasesByDepartmentQuery : IRequest<ApiPaging<DiseaseDto>>
	{
		public long DepartmentId { get; set; }
		public string? NameKeyword { get; set; }
		public int Page { get; set; } = 1;
		public int Size { get; set; } = 10;
	}
}
